package com.giao.service;

import com.giao.pojo.ContractC;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractService {
    //查询全部
    List<ContractC> findAllContract();

    //删除
    int deleteContract(@Param("contract_id") int contract_id);

    //修改
    int updateContract(ContractC contractC);

    //添加
    int insertContract(ContractC contractC);

    //查一个
    ContractC findByContractId(@Param("contract_id") int contract_id);

    /*状态修改*/
    int updatestartokC(Integer contract_id);

    int updatestartnoC(Integer contract_id);
}
